package me.zhenqu.model.pojo.entity;

import me.zhenqu.model.pojo.inf.JSONable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: yibing.tan
 * Date: 11-11-10
 * Time: 下午4:43
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "timeline", catalog = "zhenqu")
public class TimeLine implements JSONable {
    private long user_id;
    private long status_id;
    private long update_time;
    @Id
    public long getUser_id() {
        return user_id;
    }

    public void setUser_id(long user_id) {
        this.user_id = user_id;
    }
    @Id
    public long getStatus_id() {
        return status_id;
    }

    public void setStatus_id(long status_id) {
        this.status_id = status_id;
    }

    public long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(long update_time) {
        this.update_time = update_time;
    }
    @Override
    public String toJson() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public JSONable fromJson(String jsonstr) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
